package day03;

public class OnerDemo6 {
    public static void main(String[] args) {
        int num=5;
        int flag=num>0?1:-1;
        System.out.println("flag="+flag);
        int a=5,b=8;
        int max=a>b?a:b;
        System.out.println("max="+max);
    }
}
